import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';

const routes: Routes = [
  {
    path: "multiple",
    loadChildren: () => import('./module/multiple/multiple.module').then(m => m.MultipleModule)
  }, {
    path: "extract",
    loadChildren: () => import('./module/extract/extract.module').then(m => m.ExtractModule)
  }, {
    path: "user",
    loadChildren: () => import('./module/user/user.module').then(m => m.UserModule)
  }, {
    path: "aicompetence",
    loadChildren: () => import('./module/aicompetence/aicompetence.module').then(m => m.AicompetenceModule)
  }, {
    path: "**",
    redirectTo: "/aicompetence"
  }
];

@NgModule({
  imports: [RouterModule.forRoot(routes)],
  exports: [RouterModule]
})
export class AppRoutingModule { }
